package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import org.jsola.core.dto.BaseDTO;

import static org.jsola.hr.example.CrmCustomerImportRecordExample.E_DATA_TYPE;
import static org.jsola.hr.example.CrmCustomerImportRecordExample.E_FILE_NAME;
import static org.jsola.hr.example.CrmCustomerImportRecordExample.M_DATA_TYPE_MAX;
import static org.jsola.hr.example.CrmCustomerImportRecordExample.M_FILE_NAME_MAX;
import static org.jsola.hr.example.CrmCustomerImportRecordExample.N_DATA_TYPE;
import static org.jsola.hr.example.CrmCustomerImportRecordExample.N_FILE_NAME;

/**
 * 导入客户记录表
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "新增【导入客户记录表】的参数")
@Data
public class CrmCustomerImportRecordAddDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_FILE_NAME, example = E_FILE_NAME)
    @Length(max = 32, message = M_FILE_NAME_MAX)
    private String fileName;

    @ApiModelProperty(notes = N_DATA_TYPE, example = E_DATA_TYPE)
    @Length(max = 32, message = M_DATA_TYPE_MAX)
    private String dataType;


}

